package com.draven.mall.controller;

import com.draven.mall.common.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Api(tags = "测试接口")
public class TestController {

    @GetMapping("/test")
    @ApiOperation("测试接口")
    public Result<String> test() {
        return Result.success("后端服务运行正常");
    }
}
